package shujuku;

import com.common.model.Video;
import com.jfinal.core.Controller;

public class VideoCont extends Controller {
    public void save(String url, String name, String type) {
        Video video = new Video();
        video.setVName(name)
                .setVNumber(1)
                .setVUrl(url)
                .setVType(type)
                .save();
        return;
    }
}
